home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / makefiles / Makedefs.global < prev    next >
Text File  |  1993-11-17  |  3KB  |  85 lines

  1. #
  2. # Miscellaneous common definitions for the makefiles in these directories.
  3. #
  4. # GEOM, NAME (or COMMONNAME), INCS, SRCS, and OBJS
  5. # should be set before calling this.
  6. #
  7.  
  8. # If you will always be compiling on the same kind of computer (SGI or
  9. # NeXT) you can avoid having to set the CPU environment variable by
  10. # setting CPU here.  Use CPU=NeXT for NeXTStep, or CPU=iris4 or SGIs.
  11. # By default we don't set CPU at all here so that we can inherit the
  12. # value from the environment variable.  Insert your setting, if you
  13. # choose to make one, here:
  14.  
  15. # CPU = whatever
  16.  
  17. # The options passed to the C compiler include COPTS.
  18. # If you don't need libraries and programs compiled with debugging symbols,
  19. # you could set COPTS = -O for smaller, faster executables.
  20. # Also, you could set COPTS in the mk.sgi, mk.next, etc. files to
  21. # override this value for machine-specific cases.
  22.  
  23. COPTS = -g
  24.  
  25. ########################################################################
  26. # You probably won't need to change anything below here.
  27.  
  28. SHELL = /bin/sh
  29.  
  30. include ${GEOM}/makefiles/mk.${CPU}
  31.  
  32. # Read default site-specific installation dir settings.
  33. # Could set SITE = default.${MACHTYPE}, and create files mk.site.default.next,
  34. # mk.site.default.sgi, etc. if paths must differ across machines.
  35. SITE = default
  36. include ${GEOM}/makefiles/mk.site.${SITE}
  37.  
  38. MKDEP = ${GEOM}/tools/mkdep
  39. IPATH = -I${GEOM}/include
  40. CONF =
  41. CFLAGS = ${COPTS} ${SYSCOPTS} ${MORECOPTS} -DMACHTYPE='"${MACHTYPE}"' ${IPATH}
  42. LIBDIR = ${GEOM}/lib/${MACHTYPE}
  43. MODULEDIR = ${GEOM}/modules/${MACHTYPE}
  44. INSTALLMODULE = ${GEOM}/tools/installmodule
  45. LIB = ${LIBDIR}/lib${NAME}.a
  46. COMMONLIB = commonlib
  47. RMAKE=${MAKE} SITE=${SITE}
  48.  
  49. # All possible OOGL libraries in the proper order, for convenience of
  50. # application programs
  51. ALLOOGLLIBS = -L${LIBDIR}  \
  52.            -lgeom -lquad -lpolylist -lvect -lbezier -lmesh -lvect \
  53.            -lsphere -linst -ltlist -llist -lbbox -ldg -lcomment -lbbox \
  54.        -lstub -lgeom \
  55.        -lmg -lcamera -lwindow \
  56.            -lshade -loogl -l3d -lcolor -loogl
  57.  
  58. LDIRT = 
  59.  
  60. # DIRT is removed with commonrules clean or clobber
  61. DIRT = *.o *~ .places a.out core ${LDIRT}
  62.  
  63. # File for storing per-system-type make dependencies.
  64. MKDEPFILE = Mkdep
  65.  
  66. # Default values for various macros:
  67. TARGETS =
  68. DISTDIRS =
  69. DISTFILES =
  70. OBJS=
  71. CPLUSPLUS_OBJS=
  72. INCS=
  73. DISTDIRT=
  74. COMMONNAME=none
  75. NAME=
  76. COMMON_SRCS=
  77. DOCS=
  78. MMAPKGS=
  79. INSTALLS=
  80.  
  81. # OTHER_DISTFILES_CMD is a Bourne shell command used to
  82. # generate a list of additional files to be included in the FILES
  83. # file.  By default it is ':', which is the null command.
  84. OTHER_DISTFILES_CMD=:
  85.